﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dome
{
    class Program
    {
        static void Main(string[] args)
        {
            
            Console.WriteLine("请输入一个四位数");
            string str = Console.ReadLine();
            int a = int.Parse(str);
            int d, e, f, g;
            d = a / 1000 % 10;
            e = a / 100 % 10;
            f = a / 10 % 10;
            g = a % 10;
            Console.WriteLine("千位数是："+d+","+"百位数是：" + e + ","+"十位数是：" + f + ","+"个位数是：" + g + ",");
            Demo01.Test1();
            Demo02.Test02();
        }

        
    }
}
